package cn.sh.library.mgts.base;

public enum InstanceAggField {
	year("year", "provisionActivity.proDate.keyword"), //出版年分面
	place("place", "provisionActivity.proPlace.@value.keyword"), //出版地分面
	publisher("publisher", "provisionActivity.proOrganization.@value.keyword"), //出版社分面
	person("person", "contribution.personName.@value.keyword"), //责任者分面
	classes("classes", "classfacet.keyword"), //分类分面
	subject("subject", "complexSubject.labelConcat.keyword"), //关键词分面
	accessLevel("accessLevel", "item.accessLevel.keyword"), //关键词分面

	;
	private String type;
	private String field;
	
	InstanceAggField(String type, String field){
		this.type = type;
		this.field = field;
	}
	
	public String toString() {
		return type;
	}
	
	public String getType() {
		return type;
	}
	
	public String getField() {
		return field;
	}
}
